// 基于 SnowLang Project (https://gitee.com/jcnc-org/snow) 的衍生作品
// 原始版权归属: Copyright © 2025 Ke Xu (Luke)
// 本实现版权归属: Copyright © 2025 Sany
// 遵循 Apache License 2.0 授权
package system

import (
	"gitee.com/xntk2381/cc/vm/module"
	"gitee.com/xntk2381/cc/vm/utils"
)

type HaltCommand struct{}

func (HaltCommand) Execute(parts []string, currentPC int, operandStack *module.OperandStack, localVariableStore *module.LocalVariableStore, callStack *module.CallStack) (int, error) {
	utils.LogInfo("Process has ended", "\n")
	return -1, nil
}
